/**
 * Copyright [2019] [LiBo/Alex of copyright liboware@gmail.com ]
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hyts.dess.dal.bean;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hyts.dess.base.bean.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;
import java.util.Date;

/**
 * @project-name:dess
 * @package-name:com.hyts.dess.dal.bean
 * @author:LiBo/Alex
 * @create-date:2020-10-12 19:42
 * @copyright:libo-alex4java
 * @email:liboware@gmail.com
 * @description:
 *
 * USER_NAME    字符	32	用户名
 * PASSWORD	字符	32	明文密码
 * ENCRYPT_PASSWORD	字符	32	加密密码
 * LAST_LOGIN_DATE	时间		最后一次登录时间
 * LAST_LOGIN_IP	字符	32	最后一次登录IP地址
 * STATUS	字符	8	账号状态
 * CREATE_USER_ID	数值	16	创建人ID
 * CREATE_TIME	时间	16	创建时间
 * UPDATE_USER_ID	数值		修改人ID
 * UPDATE_TIME	时间		修改时间
 */
@TableName("TBL_USER_ACCOUNT")
@Getter
@Setter
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class UserAccountDO extends BaseDO {

    @TableField("USER_NAME")
    private String userName;

    @TableField("PASSWORD")
    private String password;

    @TableField("ENCRYPT_PASSWORD")
    private String encryptPassword;

    @TableField("LAST_LOGIN_DATE")
    private Date lastLoginDate;

    @TableField("LAST_LOGIN_IP")
    private String lastLoginIp;

    @TableField("STATUS")
    private Byte status;

}
